﻿using System.Windows;

namespace Sinacor.OMM.Deployment.Setup
{
    public class SetupBase
    {
        #region [ Static Methods ]

        public static bool ShowExitConfirm()
        {
            if (MessageBox.Show("Deseja realmente sair do Setup?", "Setup OMM", MessageBoxButton.YesNo, MessageBoxImage.Question, MessageBoxResult.No) == MessageBoxResult.Yes)
                return true;
            return false;
        }

        public static void CloseMainWindow()
        {
            System.Diagnostics.Process.GetCurrentProcess().Kill();
        }

        #endregion
    }
}